{"version":3,"file":"utils.map.js","names":["BX","namespace","Landing","Utils","Show","element","Promise","resolve","isShown","onAnimationEnd","then","event","dataset","requestAnimationFrame","hidden","classList","remove","add","Hide","isValidElementId","id","re","RegExp","test","ignorePromiseDecorator","fn","nothing","apply","arguments","appendHTML","html","innerHTML","getCSSSelector","names","parentNode","unshift","ownerDocument","documentElement","tagName","toLowerCase","c","e","previousElementSibling","join","onTransitionEnd","elements","type","isArray","all","map","addEventListener","resolver","removeEventListener","animationName","htmlToElement","create","firstElementChild","htmlToFragment","tmpElement","fragment","document","createDocumentFragment","slice","call","children","forEach","appendChild","deepFreeze","object","Object","freeze","keys","prop","insert","container","position","prepend","length","insertBefore","Matchers","youtube","vimeo","vine","instagram","rutube","vk","googleMapsSearch","googleMapsPlace","headerTag","russianText","facebookPages","facebookPosts","facebookVideos","getURLPreview","url","Backend","getInstance","action","HTMLToElement","getQueryParams","result","queryString","split","vars","i","pair","decodeURIComponent","push","escapeHtml","util","htmlspecialchars","htmlspecialcharsback","escapeText","text","JSON","stringify","escapeAttributeValue","value","isPlainObject","jsencode","setTextContent","classForTextNode","addClass","firstNode","firstChild","textNode","createElement","lastChild","nodeType","Node","TEXT_NODE","nodeValue","textContent","innerText","Dom","append","encodeDataValue","isString","decodeDataValue","parse","data","name","dataRegExp","TypeError","attributes","attr","undefined","getAttribute","removeAttribute","setAttribute","getTextNodes","el","body","doc","walker","createTreeWalker","NodeFilter","SHOW_TEXT","textNodes","node","nextNode","rangesIntersect","rangeA","rangeB","compareBoundaryPoints","Range","END_TO_START","START_TO_END","createRangeFromNode","range","createRange","selectNode","selectNodeContents","rangeIntersectsNode","intersectsNode","getRangeTextNodes","commonAncestorContainer","nodes","filter","isNonEmptyTextNode","removeChild","replaceNode","replacementNode","unwrap","extractContents","undo","parent","normalize","createWrapperFunction","wrapperEl","startNode","startContainer","endNode","endContainer","startOffset","endOffset","wrapNode","currentRange","currentWrapper","setStart","setEnd","surroundContents","wrapSelection","wrapperObj","window","getSelection","getRangeAt","isCollapsed","this","createSelectionRange","start","end","foundStart","charCount","endCharCount","selection","createTextRange","moveToElementText","collapse","moveEnd","moveStart","style","styles","setProperty","translateY","translateLength","translate","translateX","axis","transition","transform","toUpperCase","targetElement","parentElement","rect","getBoundingClientRect","nextSibling","className","findNextSibling","nextElementSibling","prevSibling","findPreviousSibling","item","attrs","key","removePanels","querySelectorAll","panel","getFileExtension","filename","regex","results","exec","replace","isUp","keyCode","isDown","isRight","isLeft","isEnter","isEscape","makeFilterablePopupMenu","menu","onCustomEvent","containsVisibleItems","menuItems","some","menuItem","layout","onInput","search","currentTarget","includes","emptyResult","props","filterInput","placeholder","Loc","getMessage","events","input","popupWindow","contentContainer","popupContainer","focus","makeSelectablePopupMenu","removeClass","hasClass","bind","currentItem","currentIndex","selectItem","unselectMenuItem","unselectItems","getSelected","find","getItemIndex","findIndex","getFirstItem","getNextItem","nextItem","index","isAllowedKeyPress","closeAllSubMenu","closeSubMenu","subMenu","getSubMenu","isRevert","currentMenu","menuWindow","selectedItem","reverse","showSubMenu","hasSubMenu","submenu","fireEvent","close","delay","setTimeout","highlight","useRangeRect","highlightBottom","top","bottom","left","right","height","width","History","Highlight","show","scrollTo","PageObject","view","iframe","UI","Panel","Content","offsetTop","offsetParent","elementRect","parentRect","scrollTop","borderTopWidth","parseInt","offsetLeft","scrollLeft","isArrayLike","isBoolean","isNumber","isFunction","Number","MAX_SAFE_INTEGER","isArguments","toString","isEmpty","hasOwnProperty","randomInt","min","max","Math","floor","random","intersection","reduce","previous","current","difference","changeTagName","newElement","attribute","nodeName","replaceChild","hash","sortObject","hashCode","unordered","sort","ordered","capitalize","str","charAt","textToPlaceholders","matcher","segments","changeExtension","path","newExtension","rename2x","getExtension","getDeltaFromEvent","deltaX","deltaY","wheelDeltaX","wheelDeltaY","deltaMode","wheelDelta","x","y","urlToBlob","reject","xhr","ajax","open","responseType","onerror","onload","status","response","statusText","send","err","message","getFileName","pop","getSelectedElement","contextDocument","currentDocument","DOCUMENT_NODE","sel","defaultView","rangeCount","anchorNode","anchorOffset","focusNode","focusOffset","collapsed","fireCustomEvent","target","eventName","params","console","error","addCustomEvent","removeCustomEvent","insertAfter","toggleClass","debounce","throttle","unbind","getClass","pos","assign","objectMerge","clone","trim","getRandomString","findParent","proxy","arrayUnique","array_unique","addQueryParams","add_url_param"],"sources":["utils.js"],"mappings":"CAAA,WACC,aAEAA,GAAGC,UAAU,cAKbD,GAAGE,QAAQC,MAAQ,WAAY,EAQ/BH,GAAGE,QAAQC,MAAMC,KAAO,SAASC,GAEhC,OAAO,IAAIC,SAAQ,SAASC,GAC3B,KAAMF,IAAYL,GAAGE,QAAQC,MAAMK,QAAQH,GAC3C,CACCL,GAAGE,QAAQC,MAAMM,eAAeJ,GAC9BK,MAAK,SAASC,GACdN,EAAQO,QAAQJ,QAAU,KAC1BD,EAAQI,EACT,IAEDE,uBAAsB,WACrBR,EAAQS,OAAS,MACjBT,EAAQU,UAAUC,OAAO,mBACzBX,EAAQU,UAAUE,IAAI,kBACvB,GACD,KAEA,CACCV,GACD,CACD,GACD,EAQAP,GAAGE,QAAQC,MAAMK,QAAU,SAASH,GAEnC,OAAOA,EAAQO,QAAQJ,UAAY,MACpC,EASAR,GAAGE,QAAQC,MAAMe,KAAO,SAASb,GAEhC,OAAO,IAAIC,SAAQ,SAASC,GAC3B,KAAMF,GAAWL,GAAGE,QAAQC,MAAMK,QAAQH,GAC1C,CACCL,GAAGE,QAAQC,MAAMM,eAAeJ,GAC9BK,MAAK,SAASC,GACdN,EAAQS,OAAS,KACjBT,EAAQO,QAAQJ,QAAU,MAC1BD,EAAQI,EACT,IAEDE,uBAAsB,WACrBR,EAAQU,UAAUC,OAAO,mBACzBX,EAAQU,UAAUE,IAAI,kBACvB,GACD,KAEA,CACCV,GACD,CACD,GACD,EAEAP,GAAGE,QAAQC,MAAMgB,iBAAmB,SAASC,GAE5C,IAAIC,EAAK,IAAIC,OAAO,8BACpB,OAAOD,EAAGE,KAAKH,EAChB,EAEAp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